const routes = [
    {
        path:"/index",
        component:()=>import('../pages/index.vue')
    },
    {
        path:"/",
        redirect:"/index"
    },
    {
        path: '/:error*',
        name: '404',
        component: () => import('../pages/404.vue')
    }
]
export default routes